BIPs bitcoin improvement proposals

347 - OP_CAT in Tapscript

BIP: 347 source Layer: Consensus (soft fork) Title: OP_CAT in Tapscript Author: Ethan Heilman Armin Sabouri Comments-URI: https://github.com/bitcoin/bips/wiki/Comments:BIP-0347 Status: Draft Type: Standards Track Created: 2023-12-11 License: BSD-3-Clause Post-History: 2023-10-21: https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2023-October/022049.html [bitcoin-dev] Proposed BIP for OP_CAT Table of ContentsAbstractCopyrightSpecificationMotivationRationaleBackwards CompatibilityReference implementationReferencesAcknowledgements Abstract This BIP introduces OP_CAT as a tapscript opcode which allows the concatenation of two values on the stack. OP_CAT would be activated via a soft fork by redefining the opcode OP_SUCCESS126 (126 in decimal and 0x7e in hexadecimal). This is the same opcode value used by the original OP_CAT. Copyright This document is licensed under the 3-clause BSD license. Specification When evaluated, the OP_CAT instruction: Pops...